arm: socfpga: reset: Add EMAC reset functions
authorMarek Vasut <[email protected]>
Mon, 8 Sep 2014 12:08:45 +0000 (14:08 +0200)
committerMarek Vasut <[email protected]>
Mon, 6 Oct 2014 15:46:49 +0000 (17:46 +0200)
commite9d6a20034788258bc5008dc2665aabe9ce28b1c
tree5f02fb8a2a83c4983a92daed5e0e3b1c4678b1e1
parent2110eeaf0fdf9b3b200076554d266459ca7ac26d
arm: socfpga: reset: Add EMAC reset functions

Add functions to reset the EMAC ethernet blocks. We cannot handle
two EMAC ethernet blocks yet, therefore the ifdefs. Once there is
hardware using both EMAC blocks, this ifdef will have to go.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Chin Liang See <[email protected]>
Cc: Dinh Nguyen <[email protected]>
Cc: Albert Aribaud <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Cc: Pavel Machek <[email protected]>
Acked-by: Pavel Machek <[email protected]>
arch/arm/cpu/armv7/socfpga/reset_manager.c
arch/arm/include/asm/arch-socfpga/reset_manager.h